#include <REGX52.H>
#include"key.h"
#include"Nixie.h"
#include"Buzzer.h"
unsigned char knum;
void main()
{
	Buzzer=0;
	Nixie(1,0);
	while(1)
	{
	  knum=key();
		if(knum)
		{
			Buzzer_a(1000);
			Nixie(1,knum);
		}
	}
}
